import { dbStorage } from "@/module/storage";
import { RemovableRef } from "@vueuse/core";

export const useKVStorage = <T>(key: string, defaultValue: T): RemovableRef<T> => {
  return useStorage<T>(key, defaultValue, dbStorage);
};
